package com.suke.czx.modules.tb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.suke.czx.modules.tb.entity.TbOrderInfo;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suke.czx.modules.tb.vo.OrderVO;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 订单表
 *
 * @author developer
 * @email developer@163.com
 * @date 2025-05-19 07:16:43
 */
public interface TbOrderInfoService extends IService<TbOrderInfo> {

    IPage<OrderVO> myOrder(String buyerId, Map<String, Object> params);

    OrderVO getDetailById(String orderId);

    BigDecimal getSellerTotalAmount(String userId);
}
